﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucHomeProducts.ascx.cs"
    Inherits="SES.CMS.Module.ucHomeProducts" %>
<div class="product-cate">
    <div class="heading">
        <div class="heading1">
            <a href='/danh-muc/' title='Danh mục sản phẩm'>
                <h3 class="heading2">
                    Danh sách sản phẩm</h3>
            </a><span class="plus">+</span>
        </div>
    </div>
    <div class="foo-news">
        <asp:Repeater runat="server" ID="rptHomeProducts">
            <ItemTemplate>
                <div class="product">
                    <div class="product-inner">
                        <a class="a-hover" href='/<%#FriendlyUrl(Eval("ProductCategoryTitle").ToString()) %>/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                            title='<%#Eval("ProductTitle") %>'>
                            <img src='<%#SES.CMS.Ultility.TopbikeDomain()%>/Media/Thumbnail/<%#Eval("Thumbnail")%>'
                                alt='<%#Eval("ProductTitle") %>' title='<%#Eval("ProductTitle") %>' />
                        </a>
                        <div class="product-detail-x">
                            <div class="product-no-promotion">
                                <p class="hidden p-title">
                                    <%#Eval("ProductTitle") %></p>
                                <p class="hidden p-price">
                                    <%#SES.CMS.Ultility.GetPrice(Eval("ProductID")) %>
                            </div>
                            <div class="action-product">
                                <div class="product-button">
                                    <a href='/<%#FriendlyUrl(Eval("ProductCategoryTitle").ToString()) %>/<%#FriendlyUrl(Eval("ProductTitle").ToString())%>-<%#Eval("ProductID")%>'
                                        title='<%#Eval("ProductTitle") %>' class="detail-product">Chi tiết</a>
                                    <input type="button" id="btnCart" class="h-btn-cart" onclick="updateCart(<%#Eval("ProductID")%>,1); return false;" />
                                </div>
                            </div>
                        </div>
                        <span class="new-product-span">MỚI</span>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </div>
</div>
